Redo header bar decorations once more
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Dec 2013 02:58:24 +0000 (21:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Dec 2013 02:58:24 +0000 (21:58 -0500)
commit7e1a4800fa134365724d3310fc34ec5ccbc776e9
treed85d8efa409c8a54f26b1f5adae2c1d127c65a63
parent1bfe9d0db93e1a1aad9bc6e0d03324099fb55375
Redo header bar decorations once more

Applications need a way to fix or adapt the decoration layout,
for situations like split header bars. Setting the layout from
the theme with a style property did not offer a good way to do
this, and the ::show-close-button property does not provide
fine-grained control.

To improve the situation, move the layout string to a property of
GtkHeaderBar which is backed by a setting. This allows platforms to
set a default button layout independent of the theme, while applications
can override the default.

The style GtkWindow style property is now deprecated and ignored.
docs/reference/gtk/gtk3-sections.txt
gdk/x11/gdksettings.c
gtk/gtkheaderbar.c
gtk/gtkheaderbar.h
gtk/gtksettings.c
tests/testtitlebar.c